<%-- 
    Document   : index
    Created on : Jun 16, 2013, 3:11:56 PM
    Author     : lendle
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
        <script type="text/javascript" src="js/modulejs-0.2.js"></script>
        <script type="text/javascript" src="js/jquery-1.10.1.js"></script>
        <script type="text/javascript" src="js/test/Test1.js"></script>
    </head>
    <body>
        <script type="text/javascript">
            $(document).ready(function(){
                var foo=new modulejs.require('test.Test1');
                alert(foo.add(1, 2));
            });
        </script>
        <a href="index1.jsp">index1</a>
    </body>
</html>
